/**
 * 
 */
package snowyjuhannus.common;

/**
 * @author jani
 *
 */
public class Set {
	private String set;
	private int liftA;
	private Lift liftC;
	
	public Set(String setName, int liftAmount, Lift lift) {
		set=setName;
		liftA=liftAmount;
		liftC=lift;
		
	}
		
	@Override
	public String toString() {
		return new String(set + ": " + liftA + " x " + String.format("%.2f", liftC.GetWeight()) + liftC.GetUnit());
	}
	
	public int getLiftCount() {
		return liftA;
	}
}
